//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.mercury.emqx.client.annotation;

import com.github.lianjiatech.retrofit.spring.boot.annotation.InterceptMark;
import com.github.lianjiatech.retrofit.spring.boot.interceptor.BasePathMatchInterceptor;
import com.mercury.emqx.client.interceptor.MqttAuthorizationInterceptor;

import java.lang.annotation.*;

/**
 * 权限校验注解
 *
 * @author mercury
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@InterceptMark
public @interface MqttAuthorization {

    String appId();

    String appSecret();

    String[] include() default {"/**"};

    String[] exclude() default {};

    Class<? extends BasePathMatchInterceptor> handler() default MqttAuthorizationInterceptor.class;
}
